package org.intelli.dl.learn.order.propreties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author: Michael
 * @date: 2025/4/21
 * @desc:
 */
@Component
@ConfigurationProperties(prefix = "order") // 配置批量绑定在nacos上，可以无需@RefreshScope就能实现自动刷新
@Data
public class OrderProperties {

    String timeout;

    String autoConfirm;

    String dbUrl;
}
